package com.seadragon.app.ksr.dao.jpa;

import org.springframework.stereotype.Repository;

import com.seadragon.app.ksr.dao.PictureDao;
import com.seadragon.app.ksr.model.Picture;

@Repository("pictureDao")
public class PictureDaoJpaImpl extends AbstractJpaDao implements PictureDao {

	@Override
	public void save(Picture picture) {
		entityManager.persist(picture);
	}

	@Override
	public void remove(Picture picture) {
		entityManager.remove(picture);
	}

}
